package com.tenbent.product.base.Message;

import java.io.Serializable;

/**
 * 消息对象
 *
 * @author Randy
 *
 *         Created by ThinkPad on 2017/8/22.
 */
public class Message implements Serializable {

	public static final Integer STATUS_OK = 0;

	public static final Integer STATUS_ERROR = 1001;

	private Integer code;

	private String message;

	private Object obj;

	public Message(Integer code, String message, Object obj) {
		this.code = code;
		this.message = message;
		this.obj = obj;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}
}
